﻿using CatUtils.Utils.SpecialUtils.View;
using System.Collections.Generic;
using System.Windows.Forms;

namespace CatUtils.LocalUtils.UserView
{
    /// <summary>
    /// 替换用户界面
    /// </summary>
    public class RepUserView
    {
#pragma warning disable S1104 // Fields should not have public accessibility

        /// <summary>
        /// 用户Combox替换列表
        /// </summary>
        public static List<string> ComboxList = new List<string>() { "生成辅助" };

#pragma warning restore S1104 // Fields should not have public accessibility

        /// <summary>
        /// 选择发生更改
        /// </summary>
        /// <param name="groupBox"></param>
        /// <param name="ModeText"></param>
        public void SelectChanged(GroupBox groupBox, string ModeText)
        {
            switch (ModeText)
            {
                case "生成辅助":
                    Groupboxhelper.Replace(groupBox, new GenerateControl());
                    break;
            }
        }
    }
}